#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START e2fsprogs
# depends: cross-pkg-config
# depends: util-linux

reset_mtime e2fsprogs e2fsprogs/configure.ac
mkdir -p build/e2fsprogs
cd build/e2fsprogs
../../e2fsprogs/configure \
	${CONFIGURE_ARGS} \
	--enable-elf-shlibs \
	--disable-libblkid \
	--disable-libuuid \
	--disable-uuidd \
	--disable-fsck \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/e2fsprogs

# RECIPE END e2fsprogs
